<?php 
	echo form_open('m_pekerjaan/update', array('id' => 'UpdatePekerjaan')); 
	foreach ($list as $row){ 
?>
	<input type="hidden" value="<?php echo $row->id_m_pekerjaan;?>" name="id_m_pekerjaan"/>
	<input type="text" value="<?php echo $row->pekerjaan;?>" name="pekerjaan" class="editFocus form-control form-elba input-sm" placeholder="Tulis nama pekerjaan, misal: Tani, TNI/Polri"/><br/><br/>
	<span id="loadingUpdate" style="display:none;">Sedang memproses..</span>
	<span id="errorUpdate" style="display:none;color:red;">Ma'af, gagal mengupdate data</span>
	<span class="pull-right">
		<button type="submit" class="btn btn-xs tmb-utama"> Simpan</button> 
		<button class="btn tmb-kedua close-reveal-modal close-modal"> Batal</button>
	</span>
<?php 
	}
	echo form_close();
?>